package Bean;


import java.util.Date;

/**
 * ClossName:Product
 * Pakage:Bean
 * Description
 *
 * @Author L
 * @Create 2023/10/26 9:06
 * @Version 2023.1.3
 */
public class Product {
    private int prodId ;
    private String prodName ;
    private double prodPrice;
    private Date prodNow;
    private int prodIsno ;

    public Product() {
    }

    public Product(int prodId, String prodName, double prodPrice, Date prodNow, int prodIsno) {
        this.prodId = prodId;
        this.prodName = prodName;
        this.prodPrice = prodPrice;
        this.prodNow = prodNow;
        this.prodIsno = prodIsno;
    }

    public int getProdId() {
        return prodId;
    }

    public void setProdId(int prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public double getProdPrice() {
        return prodPrice;
    }

    public void setProdPrice(double prodPrice) {
        this.prodPrice = prodPrice;
    }

    public void setProdNow(Date prodNow) {
        this.prodNow = prodNow;
    }

    public int getProdIsno() {
        return prodIsno;
    }

    public void setProdIsno(int prodIsno) {
        this.prodIsno = prodIsno;
    }

    public Date getProdNow() {
        return prodNow;
    }

    @Override
    public String toString() {



        return "Product{" +
                "prodId=" + prodId +
                ", prodName='" + prodName + '\'' +
                ", prodPrice=" + prodPrice +
                ", prodNow=" + prodNow +
                ", prodIsno=" + prodIsno +
                '}';
    }
}
